<template>
  <div class="">
    <el-button type="primary" @click="handleClick">缩小</el-button>
  </div>
</template>
<script setup>
  import {ref,reactive} from "vue"
  import { useRouter } from 'vue-router'
  const router = useRouter()
  const handleClick = () => {
    // go(-1): 原页面表单中的内容会丢失；
    // back(): 原页表表单中的内容会保留；
    console.log(router, '有何东西？？');
    router.back()
    // router.go(-1)
  }
</script>
<style lang="less" scoped>

</style>
